package org.sbbs.base.tenant.manager.impl;

import jakarta.annotation.PostConstruct;
import org.sbbs.base.jpa.manager.impl.BaseManagerImpl;
import org.sbbs.base.tenant.dao.TenantRepo;
import org.sbbs.base.tenant.entity.Tenant;
import org.sbbs.base.tenant.manager.TenantManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author jenkins
 */
@Service
//@Qualifier("multiTenantDemoEntityManager")
public class TenantManagerImpl extends BaseManagerImpl<Tenant, Long, TenantRepo> implements TenantManager {

    @Autowired
    private TenantRepo tenantRepo;

    @PostConstruct
    public void init() {
        super.setRepo(tenantRepo);
    }

}
